package com.lemon.smartsafetynew.entity.record;

import java.io.Serializable;

/**
 * Created by Andrew on 2018/1/12.
 */

public class GridInfoDo implements Serializable {

    private java.lang.String grid_id;
    private java.lang.String grid_name;
    private java.lang.String view_type;

    public String getGrid_id() {
        return grid_id;
    }

    public void setGrid_id(String grid_id) {
        this.grid_id = grid_id;
    }

    public String getGrid_name() {
        return grid_name;
    }

    public void setGrid_name(String grid_name) {
        this.grid_name = grid_name;
    }

    public String getView_type() {
        return view_type;
    }

    public void setView_type(String view_type) {
        this.view_type = view_type;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        GridInfoDo that = (GridInfoDo) o;

        return grid_name != null ? grid_name.equals(that.grid_name) : that.grid_name == null;
    }

    @Override
    public int hashCode() {
        return grid_name != null ? grid_name.hashCode() : 0;
    }
}
